```html
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>n8n - 强大的开源工作流自动化工具</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            background-color: #f8fafc;
            color: #1e293b;
            line-height: 1.6;
        }
        h1, h2, h3, h4 {
            font-family: 'Noto Serif SC', serif;
            font-weight: 700;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        .feature-icon {
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
        }
        .node-example {
            border-left: 4px solid #8b5cf6;
        }
        .mermaid {
            background-color: white;
            border-radius: 0.5rem;
            padding: 1.5rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }
        .highlight-text {
            background: linear-gradient(120deg, #a5b4fc 0%, #c4b5fd 100%);
            background-repeat: no-repeat;
            background-size: 100% 40%;
            background-position: 0 88%;
        }
    </style>
</head>
<body>
    <!-- Hero Section -->
    <section class="hero-gradient text-white py-20 px-4 md:px-0">
        <div class="container mx-auto max-w-6xl flex flex-col md:flex-row items-center">
            <div class="md:w-1/2 md:pr-10 mb-10 md:mb-0">
                <h1 class="text-4xl md:text-5xl font-bold leading-tight mb-6">
                    <span class="highlight-text">n8n</span> - 连接一切的工作流自动化神器
                </h1>
                <p class="text-xl mb-8 opacity-90">开源的工作流自动化工具，通过直观的节点连接方式让自动化触手可及</p>
                <div class="flex flex-col sm:flex-row gap-4">
                    <a href="https://n8n.io/" target="_blank" class="bg-white text-indigo-600 hover:bg-gray-100 font-semibold py-3 px-6 rounded-lg transition-all duration-300 transform hover:scale-105 inline-flex items-center justify-center">
                        <i class="fas fa-external-link-alt mr-2"></i> 访问官网
                    </a>
                    <a href="#try-now" class="bg-indigo-700 hover:bg-indigo-800 text-white font-semibold py-3 px-6 rounded-lg transition-all duration-300 transform hover:scale-105 inline-flex items-center justify-center">
                        <i class="fas fa-play-circle mr-2"></i> 立即体验
                    </a>
                </div>
            </div>
            <div class="md:w-1/2">
                <img src="https://cdn.nlark.com/yuque/0/2025/png/21449790/1753608033340-7322d17b-6916-4f4d-9a95-da242edb5859.png" 
                     alt="n8n界面截图" 
                     class="rounded-xl shadow-2xl border-4 border-white transform rotate-1 hover:rotate-0 transition-transform duration-500">
            </div>
        </div>
    </section>

    <!-- Introduction Section -->
    <section class="py-16 px-4 md:px-0 bg-white">
        <div class="container mx-auto max-w-4xl">
            <div class="text-center mb-16">
                <h2 class="text-3xl font-bold mb-4">什么是 <span class="text-indigo-600">n8n</span>？</h2>
                <div class="w-20 h-1 bg-indigo-500 mx-auto"></div>
            </div>
            
            <div class="prose prose-lg max-w-none">
                <p class="text-lg leading-relaxed mb-6">
                    <span class="font-bold">n8n</span>（读作"node eight node"）是一个开源的工作流自动化工具，旨在帮助用户通过简单的方式将不同的应用程序和服务连接起来，实现自动化任务。它的全称是 <strong>nod(e)8nod(e)</strong>，名字中的"8"象征着连接不同节点（nodes）的工作流，强调其基于节点的直观设计。
                </p>
                <p class="text-lg leading-relaxed mb-6">
                    无论是个人用户还是企业团队，n8n 都能让你轻松构建自动化流程，无需深厚的编程知识。通过直观的图形化界面，你可以像搭积木一样连接各种服务，创建强大的自动化工作流。
                </p>
            </div>
            
            <div class="mt-12 bg-blue-50 p-6 rounded-xl border border-blue-100">
                <div class="flex items-start">
                    <div class="flex-shrink-0 feature-icon text-white rounded-full w-12 h-12 flex items-center justify-center mr-4">
                        <i class="fas fa-lightbulb text-2xl"></i>
                    </div>
                    <div>
                        <h3 class="text-xl font-semibold text-blue-800 mb-2">为什么叫 n8n？</h3>
                        <p class="text-blue-700">"n8n" 代表 "node eight node"，其中的"8"既是数字也是字母"ate"的谐音，象征着节点之间的"连接"和"消化"（将数据从一个节点传递到另一个节点）。这个名字完美体现了工具的核心功能：通过节点连接实现工作流自动化。</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Target Audience Section -->
    <section class="py-16 px-4 md:px-0 bg-gray-50">
        <div class="container mx-auto max-w-4xl">
            <div class="text-center mb-16">
                <h2 class="text-3xl font-bold mb-4"><span class="text-indigo-600">n8n</span> 适合谁？</h2>
                <p class="text-xl text-gray-600">无论你是技术小白还是开发高手，n8n 都能满足你的自动化需求</p>
                <div class="w-20 h-1 bg-indigo-500 mx-auto mt-4"></div>
            </div>
            
            <div class="grid md:grid-cols-2 gap-8">
                <div class="bg-white p-8 rounded-xl shadow-md transition-all duration-300 card-hover">
                    <div class="flex items-center mb-4">
                        <div class="feature-icon text-white rounded-full w-10 h-10 flex items-center justify-center mr-4">
                            <i class="fas fa-user-graduate"></i>
                        </div>
                        <h3 class="text-xl font-semibold">非技术用户</h3>
                    </div>
                    <p class="text-gray-700">
                        n8n 特别适合新手和非技术背景的用户，因为它提供了直观的图形化界面，让你通过拖拽和连接"节点"就能完成复杂的自动化任务。如果你经常需要处理重复性工作，比如同步数据、发送通知或整合多个工具，n8n 就是你的好帮手。
                    </p>
                </div>
                
                <div class="bg-white p-8 rounded-xl shadow-md transition-all duration-300 card-hover">
                    <div class="flex items-center mb-4">
                        <div class="feature-icon text-white rounded-full w-10 h-10 flex items-center justify-center mr-4">
                            <i class="fas fa-code"></i>
                        </div>
                        <h3 class="text-xl font-semibold">开发者</h3>
                    </div>
                    <p class="text-gray-700">
                        n8n 也适合开发者，因为它支持自定义代码和高级配置，功能非常灵活。你可以扩展内置节点功能，创建自己的自定义节点，或者直接编写 JavaScript 代码来实现复杂的业务逻辑。
                    </p>
                </div>
            </div>
        </div>
    </section>

    <!-- Core Features Section -->
    <section class="py-16 px-4 md:px-0 bg-white">
        <div class="container mx-auto max-w-6xl">
            <div class="text-center mb-16">
                <h2 class="text-3xl font-bold mb-4"><span class="text-indigo-600">n8n</span> 的核心功能</h2>
                <p class="text-xl text-gray-600">强大的功能组合，满足各种自动化需求场景</p>
                <div class="w-20 h-1 bg-indigo-500 mx-auto mt-4"></div>
            </div>
            
            <div class="grid md:grid-cols-2 gap-8 mb-12">
                <div class="p-6 rounded-xl bg-indigo-50 border border-indigo-100">
                    <div class="flex items-start mb-4">
                        <div class="feature-icon text-white rounded-lg w-12 h-12 flex items-center justify-center mr-4 flex-shrink-0">
                            <i class="fas fa-project-diagram text-2xl"></i>
                        </div>
                        <div>
                            <h3 class="text-xl font-semibold text-indigo-800">基于节点的流程设计</h3>
                            <p class="text-indigo-700 mt-2">
                                n8n 使用"节点"来表示任务的每个步骤。每个节点可以是一个触发器（比如"当收到新邮件时"）或一个动作（比如"发送一条消息到 Slack"）。你可以通过拖拽连接这些节点，创建出符合你需求的工作流。
                            </p>
                        </div>
                    </div>
                </div>
                
                <div class="p-6 rounded-xl bg-purple-50 border border-purple-100">
                    <div class="flex items-start mb-4">
                        <div class="feature-icon text-white rounded-lg w-12 h-12 flex items-center justify-center mr-4 flex-shrink-0">
                            <i class="fas fa-plug text-2xl"></i>
                        </div>
                        <div>
                            <h3 class="text-xl font-semibold text-purple-800">支持多种应用程序</h3>
                            <p class="text-purple-700 mt-2">
                                n8n 内置了数百个预配置的集成（称为"节点"），支持常见的工具和服务，比如 Google Sheets、Trello、Slack、Discord、Notion 等。如果没有现成的节点，你还可以使用 HTTP 请求或自定义代码来连接其他服务。
                            </p>
                        </div>
                    </div>
                </div>
                
                <div class="p-6 rounded-xl bg-blue-50 border border-blue-100">
                    <div class="flex items-start mb-4">
                        <div class="feature-icon text-white rounded-lg w-12 h-12 flex items-center justify-center mr-4 flex-shrink-0">
                            <i class="fas fa-code-branch text-2xl"></i>
                        </div>
                        <div>
                            <h3 class="text-xl font-semibold text-blue-800">开源与灵活部署</h3>
                            <p class="text-blue-700 mt-2">
                                n8n 是开源的，意味着你可以免费使用它的核心功能。你可以选择在本地电脑、云服务器或 n8n 提供的云服务上运行它。开源也意味着社区支持强大，有许多教程和插件可用。
                            </p>
                        </div>
                    </div>
                </div>
                
                <div class="p-6 rounded-xl bg-green-50 border border-green-100">
                    <div class="flex items-start mb-4">
                        <div class="feature-icon text-white rounded-lg w-12 h-12 flex items-center justify-center mr-4 flex-shrink-0">
                            <i class="fas fa-clock text-2xl"></i>
                        </div>
                        <div>
                            <h3 class="text-xl font-semibold text-green-800">触发器与定时任务</h3>
                            <p class="text-green-700 mt-2">
                                n8n 支持多种触发方式，比如定时触发（例如每天早上 8 点运行）、Webhook（当某个事件发生时触发）或手动触发。你可以根据需求灵活设置。
                            </p>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- Mermaid Diagram -->
            <div class="mt-12">
                <h3 class="text-2xl font-semibold mb-6 text-center">n8n 工作流示例</h3>
                <div class="mermaid">
                    graph TD
                        A[定时触发器] -->|每天早上8点| B[从Google Sheets读取数据]
                        B --> C{数据是否更新?}
                        C -->|是| D[发送Slack通知]
                        C -->|否| E[结束]
                        D --> F[更新Notion数据库]
                        F --> G[发送确认邮件]
                </div>
            </div>
        </div>
    </section>

    <!-- Why Choose Section -->
    <section class="py-16 px-4 md:px-0 bg-indigo-50">
        <div class="container mx-auto max-w-4xl">
            <div class="text-center mb-16">
                <h2 class="text-3xl font-bold mb-4">为什么选择 <span class="text-indigo-600">n8n</span>？</h2>
                <p class="text-xl text-gray-700">n8n 相比其他自动化工具的优势</p>
                <div class="w-20 h-1 bg-indigo-500 mx-auto mt-4"></div>
            </div>
            
            <div class="grid gap-6">
                <div class="bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition-shadow duration-300">
                    <div class="flex items-start">
                        <div class="text-indigo-600 mr-4 mt-1">
                            <i class="fas fa-thumbs-up text-2xl"></i>
                        </div>
                        <div>
                            <h3 class="text-xl font-semibold mb-2">易上手</h3>
                            <p class="text-gray-700">图形化界面让新手也能快速学会创建自动化流程。无需编程经验，通过拖拽节点即可构建复杂工作流。</p>
                        </div>
                    </div>
                </div>
                
                <div class="bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition-shadow duration-300">
                    <div class="flex items-start">
                        <div class="text-indigo-600 mr-4 mt-1">
                            <i class="fas fa-lock-open text-2xl"></i>
                        </div>
                        <div>
                            <h3 class="text-xl font-semibold mb-2">免费开源</h3>
                            <p class="text-gray-700">核心功能完全免费，社区版适合个人和小型团队。源代码开放，社区活跃，持续更新。</p>
                        </div>
                    </div>
                </div>
                
                <div class="bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition-shadow duration-300">
                    <div class="flex items-start">
                        <div class="text-indigo-600 mr-4 mt-1">
                            <i class="fas fa-cogs text-2xl"></i>
                        </div>
                        <div>
                            <h3 class="text-xl font-semibold mb-2">高度可定制</h3>
                            <p class="text-gray-700">支持 JavaScript 自定义节点，满足高级用户的需求。可以编写自己的逻辑和功能扩展。</p>
                        </div>
                    </div>
                </div>
                
                <div class="bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition-shadow duration-300">
                    <div class="flex items-start">
                        <div class="text-indigo-600 mr-4 mt-1">
                            <i class="fas fa-shield-alt text-2xl"></i>
                        </div>
                        <div>
                            <h3 class="text-xl font-semibold mb-2">数据隐私</h3>
                            <p class="text-gray-700">你可以选择自托管，数据完全由你掌控。不需要依赖第三方云服务，确保数据安全。</p>
                        </div>
                    </div>
                </div>
                
                <div class="bg-white p-6 rounded-lg shadow-sm hover:shadow-md transition-shadow duration-300">
                    <div class="flex items-start">
                        <div class="text-indigo-600 mr-4 mt-1">
                            <i class="fas fa-users text-2xl"></i>
                        </div>
                        <div>
                            <h3 class="text-xl font-semibold mb-2">活跃社区</h3>
                            <p class="text-gray-700">有大量的教程、模板和社区支持，帮助你快速入门。遇到问题可以快速获得帮助。</p>
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="mt-12 bg-indigo-100 border border-indigo-200 rounded-lg p-6 text-center">
                <h3 class="text-2xl font-semibold text-indigo-800 mb-4">准备好开始你的自动化之旅了吗？</h3>
                <a href="https://n8n.io/" target="_blank" class="bg-indigo-600 hover:bg-indigo-700 text-white font-semibold py-3 px-8 rounded-lg inline-flex items-center transition-all duration-300 transform hover:scale-105">
                    <i class="fas fa-rocket mr-2"></i> 立即下载 n8n
                </a>
            </div>
        </div>
    </section>

    <!-- Node Example Section -->
    <section class="py-16 px-4 md:px-0 bg-white" id="try-now">
        <div class="container mx-auto max-w-4xl">
            <div class="text-center mb-12">
                <h2 class="text-3xl font-bold mb-4">n8n 节点示例</h2>
                <p class="text-xl text-gray-600">感受一下 n8n 的节点工作流</p>
                <div class="w-20 h-1 bg-indigo-500 mx-auto mt-4"></div>
            </div>
            
            <div class="bg-gray-50 p-6 rounded-xl node-example">
                <div class="flex items-center mb-4">
                    <div class="bg-indigo-600 text-white rounded-full w-8 h-8 flex items-center justify-center mr-3">
                        <i class="fas fa-play"></i>
                    </div>
                    <h3 class="text-xl font-semibold">定时发送邮件工作流</h3>
                </div>
                
                <div class="ml-11 space-y-4">
                    <div class="bg-white p-4 rounded-lg shadow-sm border-l-4 border-blue-400">
                        <div class="flex items-center">
                            <div class="bg-blue-100 text-blue-600 rounded-full w-6 h-6 flex items-center justify-center mr-3">
                                1
                            </div>
                            <span class="font-medium">定时触发器</span>
                            <span class="ml-auto text-sm text-gray-500">每天上午9:00</span>
                        </div>
                    </div>
                    
                    <div class="bg-white p-4 rounded-lg shadow-sm border-l-4 border-green-400">
                        <div class="flex items-center">
                            <div class="bg-green-100 text-green-600 rounded-full w-6 h-6 flex items-center justify-center mr-3">
                                2
                            </div>
                            <span class="font-medium">从Google Sheets读取数据</span>
                            <span class="ml-auto text-sm text-gray-500">获取当日任务列表</span>
                        </div>
                    </div>
                    
                    <div class="bg-white p-4 rounded-lg shadow-sm border-l-4 border-purple-400">
                        <div class="flex items-center">
                            <div class="bg-purple-100 text-purple-600 rounded-full w-6 h-6 flex items-center justify-center mr-3">
                                3
                            </div>
                            <span class="font-medium">过滤数据</span>
                            <span class="ml-auto text-sm text-gray-500">只选择重要任务</span>
                        </div>
                    </div>
                    
                    <div class="bg-white p-4 rounded-lg shadow-sm border-l-4 border-yellow-400">
                        <div class="flex items-center">
                            <div class="bg-yellow-100 text-yellow-600 rounded-full w-6 h-6 flex items-center justify-center mr-3">
                                4
                            </div>
                            <span class="font-medium">发送邮件</span>
                            <span class="ml-auto text-sm text-gray-500">通过Gmail发送任务提醒</span>
                        </div>
                    </div>
                    
                    <div class="bg-white p-4 rounded-lg shadow-sm border-l-4 border-indigo-400">
                        <div class="flex items-center">
                            <div class="bg-indigo-100 text-indigo-600 rounded-full w-6 h-6 flex items-center justify-center mr-3">
                                5
                            </div>
                            <span class="font-medium">记录到Notion</span>
                            <span class="ml-auto text-sm text-gray-500">更新任务状态</span>
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="mt-8 text-center">
                <p class="text-gray-600 mb-4">这只是n8n强大功能的冰山一角，你可以创建任何你能想象到的自动化流程！</p>
                <a href="https://n8n.io/workflows/" target="_blank" class="text-indigo-600 hover:text-indigo-800 font-medium inline-flex items-center">
                    查看更多工作流模板 <i class="fas fa-arrow-right ml-2"></i>
                </a>
            </div>
        </div>
    </section>

    <script>
        mermaid.initialize({
            startOnLoad: true,
            theme: 'default',
            flowchart: {
                useMaxWidth: true,
                htmlLabels: true,
                curve: 'basis'
            }
        });
    </script>
</body>
</html>
```